home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Format 1994 August
/
August CD.bin
/
Shareware
/
Games
/
Core War
/
Battle Programs
/
contest92
/
A08 Broom2
< prev
next >
Wrap
Text File
|
1993-01-14
|
1KB
|
47 lines
;
; Broom2
;
; Author: Mark A. Durham
; Date: December 14, 1992
;
; strategy Broom2 loads up 8000 synchronized tasks with 13 "SPL 1"
; strategy instructions, then traps opponents with a single
; strategy "MOV trap, <0" instruction, and then bombs until time
; strategy expires using 11 "MOV bomb, <0" instructions. Broom2 takes
; strategy advantage of the 192 instruction buffer provided by the
; strategy difference in core size and maximum number of tasks. This
; strategy is also its Achille's heel. If an opponent places itself
; strategy within the 192 instruction buffer, it will not be found.
;
; Load the gun with 8000 shots.
start SPL 1 ; 2
SPL 1 ; 4
SPL 1 ; 8
SPL 1 ; 16
SPL 1 ; 32
SPL 1 ; 64
SPL 1 ; 128
SPL 1 ; 256
SPL 1 ; 512
SPL 1 ; 1024
SPL 1 ; 2048
SPL 1 ; 4096
SPL 1 ; 8000
MOV trap, <0 ; Trap opponent
MOV bomb, <0 ; Kill opponent
MOV bomb, <0 ; Just in case, and wait for end
MOV bomb, <0
MOV bomb, <0
MOV bomb, <0
MOV bomb, <0
MOV bomb, <0
MOV bomb, <0
MOV bomb, <0
MOV bomb, <0
MOV bomb, <0
trap SPL 0
bomb DAT #0, #0
END start